package com.hisense.hiioc.formtable.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Form {
    /**
     * 表单ID
     */
    private Integer formId;
    /**
     * 表单名称
     */
    private String formName;
    /**
     * 表单描述
     */
    private String formDesc;
    /**
     * 表单对应数据库中生成的table name
     */
    private String formTableName;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;

    public Integer getFormId() {
        return formId;
    }

    public void setFormId(Integer formId) {
        this.formId = formId;
    }

    public String getFormName() {
        return formName;
    }

    public void setFormName(String formName) {
        this.formName = formName;
    }

    public String getFormDesc() {
        return formDesc;
    }

    public void setFormDesc(String formDesc) {
        this.formDesc = formDesc;
    }

    public String getFormTableName() {
        return formTableName;
    }

    public void setFormTableName(String formTableName) {
        this.formTableName = formTableName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "Form{" +
                "formId=" + formId +
                ", formName='" + formName + '\'' +
                ", formDesc='" + formDesc + '\'' +
                ", formTableName='" + formTableName + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
